//拼接url链接
export const buildUrlStr = (params = {}) => {
    let str = "";
    for(let key in params){
        const value = params[key];
        str += `&${key}=${value}`;
    }
    if (str !== "")
        str = str.substring(1);
    return str;
}